package com.rockbb.common.simpleframe.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ActionSupport {

	public static final String SUCCESS = "success";
	public static final String INPUT = "input";
	public static final String ERROR = "error";
	public static final String CONFIRM = "confirm";
	public static final String MESSAGE = "message";
	public static final String REDIRECT = "redirect";
	public static final String JSON_ERROR = "json_error";

	public void initialize(ActionContext context, HttpServletRequest request, HttpServletResponse response, Map<String, Object> root);
	public void prepare();
	public String intercepters();
}
